package com.community.service.impl.fq;

import com.community.domain.fq.csd_fee;
import com.community.mapper.fq.FeeMapper;
import com.community.service.fq.FeeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.community.service.fq.FeeService;

import java.util.List;

@Service
public class FeeServiceImpl implements FeeService {
    @Autowired
    FeeMapper feeMapper;
    @Override
    public List<csd_fee> selectFeeList(csd_fee fee) {
        return feeMapper.selectFeeList(fee);
    }

    @Override
    public int delFee(int id) {
        return feeMapper.delFee(id);
    }

    @Override
    public int updateFee(csd_fee fee) {
        return feeMapper.updateFee(fee);
    }

    @Override
    public int addFee(csd_fee fee) {
        return feeMapper.addFee(fee);
    }

    @Override
    public csd_fee selectFeeInfoById(int id) {
        return feeMapper.selectFeeInfoById(id);
    }

    @Override
    public csd_fee deptIDselect(String feeType,String deptId,String houseNum) {
        return feeMapper.deptIDselect(feeType,deptId,houseNum);
    }
}
